dh_auto_configure -- $(BUILD_OPTIONS)
execute_after_dh_auto_build:
- dh_auto_build -O--buildsystem=pybuild -- -s distutils --after-build \
+ dh_auto_build -O--buildsystem=pybuild -- -s pyproject --after-build \
"cp obj-$(DEB_BUILD_GNU_TYPE)/opencc_clib.*.so {build_dir}/opencc/clib/"
execute_after_dh_auto_test:
- dh_auto_test -O--buildsystem=pybuild -- -s distutils
+ dh_auto_test -O--buildsystem=pybuild -- -s pyproject
execute_after_dh_auto_install:
- dh_auto_install -O--buildsystem=pybuild -- -s distutils
+ dh_auto_install -O--buildsystem=pybuild -- -s pyproject
chrpath --delete debian/tmp/usr/lib/*/dist-packages/opencc/clib/*.so
for i in debian/tmp/usr/lib/*/dist-packages/opencc/clib/; do \
mkdir -p $$i/share/; \